﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace MultiBoxer
{
    class WindowerHelper
    {
        private const string WINDOWERHELPER_LIBRARY = "WindowerHelper.dll";

        #region WindowerHelper Imports
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern int CreateConsoleHelper(string name);
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern void DeleteConsoleHelper(int helper);
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern bool CCHIsNewCommand(int helper);
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern short CCHGetArgCount(int helper);
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern void CCHGetArg(int helper, short index, byte[] buffer);
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern int CCHGetCommandID(int helper);
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern void CKHSendString(int helper, string data);
        [DllImport(WINDOWERHELPER_LIBRARY)]
        public static extern int CreateKeyboardHelper(string name);
        #endregion


    }
}
